package sis.studentinfo;

import java.util.logging.Handler;
import java.util.logging.LogRecord;

/**
 * Created by IntelliJ IDEA.
 * User: alexander-kalden
 * Date: 9/17/12
 * Time: 1:22 PM
 * To change this template use File | Settings | File Templates.
 */
class TestHandler extends Handler {

    private LogRecord record;

    public void publish(LogRecord record) {
        this.record = record;
    }

    String getMessage() {
        return record.getMessage();
    }

    public void flush() {}
    public void close() {}
}